package com.can.dao;

import com.can.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    //分页
    List<User> getUserByLimit(Map<String,Object> map);

    //根据Id查询用户
    User getUserById(int id);

    //RowBounds分页2
    List<User> getUserByRowBounds();

}
